package service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import domain.Message;

public interface IMessageService {
	//写留言
	public Integer write(Message msg);

	//查询出所有留言 带分页
	public List<Message> listAll(@Param("currentPage") Integer startPage, @Param("pageSize") Integer pageSize);

	//删除留言
	public Integer delete(Long id);
}
